<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ taglib uri="/struts-tags" prefix="s" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>首页</title>
</head>
<body>
<jsp:include page="head.jsp"></jsp:include>
你好, <sec:authentication property="name"/>，你当前的角色是：<sec:authentication property="authorities"/>
。<br/>
http://${pageContext.request.serverName}${pageContext.request.contextPath}
<ul>
<li><a href="loginManager-index.action">登录</a></li>
<li><a href="a-index.action">A动作</a></li>
<li><a href="b-index.action">B动作</a></li>
<li><a href="resource-index.action">资源列表</a></li>
<li><a href="loginManager-logout.action">登出</a></li>
</ul>
<jsp:include page="bottom.jsp"></jsp:include>
</body>
</html>